/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.trick.admin.factory;

import it.trick.admin.cell.CategoryTreeViewCell;
import it.trick.admin.model.ContentsBaseModel;
import javafx.scene.control.TreeCell;
import javafx.scene.control.TreeView;
import javafx.util.Callback;

/**
 *
 * @author takahara
 */
public class CategoryTreeViewFactory implements Callback<TreeView<ContentsBaseModel>, TreeCell<ContentsBaseModel>> {

    @Override
    public TreeCell<ContentsBaseModel> call(TreeView<ContentsBaseModel> p) {
        return new CategoryTreeViewCell();
    }

}
